/**
 * 项目名称：MSHF
 * 包名称：com.mt.edu.domain
 * 文件名称：CourseScheduling.java
 */
package com.mt.edu.cs.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.mt.edu.base.domain.Classes;
import com.mt.edu.base.domain.Subject;
import com.mt.edu.base.domain.Teacher;

/**
 * 类名称：CourseScheduling <br>
 * 类描述：排课信息<br>
 * 创建人： 马腾 <br>
 * 创建时间：Apr 29, 2014 9:09:08 PM <br>
 * 修改人： 马腾 <br>
 * 修改时间：Apr 29, 2014 9:09:08 PM <br>
 */
@Entity
@Table(name = "OL_COURSE_SCHEDULING")
public class CourseScheduling implements Serializable  {

	private static final long serialVersionUID = 7086530331533739612L;

	@Id
	@Column(name = "COURSE_SCHEDULING_ID")
	private String id;
	
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "CLASSES_ID")
	private Classes classes;
	
	@Column(name = "DAY_OF_WEEK")
	private String week;
	
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "SUBJECT_ID")
	private Subject subject;
	
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "SECTION_ID")
	private CourseSection courseSection;
	
	@Column(name = "TEACHER_ID")
	private Teacher teacher;
	
	@Column(name = "CREATE_DT")
	private Date createDt;
	
	@Column(name = "UPDATE_DT")
	private Date updateDt; 
	
	@Column(name = "OPERATOR")
	private String operator;
	
	@Column(name = "RESERVED1")
	private String reserved1;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Classes getClasses() {
		return classes;
	}

	public void setClasses(Classes classes) {
		this.classes = classes;
	}

	public String getWeek() {
		return week;
	}

	public void setWeek(String week) {
		this.week = week;
	}

	public Subject getSubject() {
		return subject;
	}

	public void setSubject(Subject subject) {
		this.subject = subject;
	}

	public CourseSection getSection() {
		return courseSection;
	}

	public void setSection(CourseSection courseSection) {
		this.courseSection = courseSection;
	}

	public Teacher getTeacher() {
		return teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

	public Date getCreateDt() {
		return createDt;
	}

	public void setCreateDt(Date createDt) {
		this.createDt = createDt;
	}

	public Date getUpdateDt() {
		return updateDt;
	}

	public void setUpdateDt(Date updateDt) {
		this.updateDt = updateDt;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public String getReserved1() {
		return reserved1;
	}

	public void setReserved1(String reserved1) {
		this.reserved1 = reserved1;
	}
	
}

